package com.zhuang.thread;

public class ThreadTerminated {
	public static void main(String[] args) throws Exception {
		MyThread myThread = new MyThread();
		System.out.println("线程创建之后处于->" + myThread.getState());

		myThread.run();
		System.out.println("线程创建之后处于->" + myThread.getState());

		myThread.start();
		System.out.println("线程start之后处于->" + myThread.getState());

		Thread.sleep(1000);
		System.out.println("线程开始1秒之后处于->" + myThread.getState());
	}
}
